<?php

class Messages {
	const ERROR_USERNAME_INVALID = "Username may only contain between 6 and 20 characters";
	const ERROR_PASSWORD_INVALID = "Password may only contain between 6 and 20 characters and must match the controll password";
	const ERROR_USERNAME_EXIST = "Username allready exist";
	
	const SUCCESS_REGISTRATION_COMPLETE = "Your account has been created succesfully";
	
	const ERROR_USERINFO_INVALID = "Wrong username or password";
	const ERROR_USERTOKEN_HIJACKED = "Warning! Your token was unverified and you may have been hijacked!";
	const ERROR_USERTOKEN_INVALID = "An error occured, please try again";

	const ERROR_HEADLINE_INVALID = "Headline may only contain between 6 and 40 characters";
	const ERROR_ARTICLE_INVALID = "Article may only contain between 20 and 400 characters";
	const ERROR_ARTICLE_SUBMIT_FAILED = "Something went wrong when submitting your article, please try again later";
	
	const ERROR_REMOVE_FAIL = "Removing of the article didn't succed, please try again later";
	
	const SUCCESS_ARTICLESUBMISSION_COMPLETE = "Your article have been posted successfully";
}
